package io.capsulode.tunnel.blockrepo;

import java.io.IOException;
import java.io.OutputStream;

/**
 * ProxyRepository
 *
 * @author lipei
 */
public interface ProxyRepository {
    void put(ProxyDefinition proxy);

    void remove(String proxyName);
    void write(OutputStream out) throws IOException;

    String etag();

    long lastModified();

}
